this._pageIndicator.setReactive(false);
let bottomRow = this._createBottomRow();
- this.actor.add(bottomRow, { x_fill: true, y_fill: false });
+ this.actor.add(bottomRow, { expand: true, x_fill: false, y_fill: false });
this._emojiPager.setCurrentPage(0);
}
row.appendKey(key.actor);
row.layoutButtons();
- return row;
+ let actor = new AspectContainer({ layout_manager: new Clutter.BinLayout(),
+ x_expand: true, y_expand: true });
+ actor.add_child(row);
+ /* Regular keyboard layouts are 11.5×4 grids, optimize for that
+ * at the moment. Ideally this should be as wide as the current
+ * keymap.
+ */
+ actor.setRatio(11.5, 1);
+
+ return actor;
}
};
Signals.addSignalMethods(EmojiSelection.prototype);